package com.xy.service;

import java.util.List;

import com.xy.dao.impl.PageResults;
import com.xy.model.Station;

public interface StationService {
  boolean add(Station station);
  boolean update(Station station);
  boolean delete(Station station);
  Station get(int id);
  PageResults listByPage(int page);
  <T> List<Station> list(Class<T> name);
  PageResults query(Object...objects);
}
